/**
 * Contact.java
 */
package com.vcsoft.emailresponder.bean;

import java.util.Date;

/**
 * @author bhosalevishal@gmail.com
 * @version 03-Sept-2012
 */
public class Contact
{
	/**
	 * contact id
	 */
	private int contactId;
	
	/**
	 * name of the contact, 
	 * it contains first name and last name extracted from email address
	 */
	private String name;
	
	/**
	 * email address of the contact
	 */
	private String email;
	
	/**
	 * company id of the contact
	 */
	private int companyId;
	
	/**
	 * public constructor
	 */
	public Contact(){
		
	}

	/**
	 * @return the contactId
	 */
	public int getContactId() {
		return contactId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @return the companyId
	 */
	public int getCompanyId() {
		return companyId;
	}

	/**
	 * @param contactId the contactId to set
	 */
	public void setContactId(int contactId) {
		this.contactId = contactId;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @param companyId the companyId to set
	 */
	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}
}
